﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace Entity
{
    class DM_MON_HOC
    {
        #region[Public Properties]

        public string Id { get; set; }
        public string MA_MON { get; set; }
        public string TEN_MON { get; set; }
        public string THU_TU { get; set; }

        #endregion
        #region[DM_MON_HOCIDataReader]

        public static DM_MON_HOC DM_MON_HOCIDataReader(IDataReader dr)
        {
            var obj = new DM_MON_HOC
                          {
                              Id = Convert.ToString(dr["Id"]),
                              MA_MON = Convert.ToString(dr["MA_MON"]),
                              TEN_MON = Convert.ToString(dr["TEN_MON"]),
                              THU_TU = Convert.ToString(dr["THU_TU"])
                          };
            return obj;
        }

        #endregion

    }
}
